package com.molin.MethodTest;

public class Demo2Method {
    public static void main(String[] args) {
        method();
    }
    public static void method(){
        int x=3;
        if(x%2==0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
    }
}
